var bookStoreCtrls = angular.module('bookStoreCtrls', []);

bookStoreCtrls.controller('HelloCtrl', ['$scope', 
	function($scope) {
		$scope.greeting = {
			text : 'Hello'
		};
		$scope.pageClass = 'hello';
	}
]);

bookStoreCtrls.controller('BookListCtrl', ['$scope', 
	function($scope) {
		$scope.books = [
			{
				title : 'test1',
				author : 'enan'
			},
			{
				title : 'test2',
				author : 'Parker'
			},
			{
				title : 'test3',
				author : 'James'
			}
		];
		$scope.pageClass = 'list';
	}
]);
